package com.tian.mall;

/**
 * @author zhumengping
 * @title: EmailRequestEntity
 * @projectName zhump-cloud
 * @date 2023/8/2 11:49
 */
public class EmailRequestEntity {

    /**发送服务名称*/
    private String serverName;

    /**发送渠道*/
    private ChannelEnums channel;

    /**发送邮件箱*/
    private String sendMail;

    /**发送邮件认证密码*/
    private String sendMailPwd;

    /**发送内容*/
    private String sendContent;

    /**接收者邮箱*/
    private String receiveMail;

    /**接收者用户名*/
    private String receiveName;

    /**发送邮件类型*/
    private MailTypeEnums mailType;

    /**发送主题*/
    private String subject;



    public static EmailBuilder builder(){
        return new EmailBuilder();
    }



    public String getServerName() {
        return serverName;
    }

    public void setServerName(String serverName) {
        this.serverName = serverName;
    }

    public ChannelEnums getChannel() {
        return channel;
    }

    public void setChannel(ChannelEnums channel) {
        this.channel = channel;
    }

    public String getSendMail() {
        return sendMail;
    }

    public void setSendMail(String sendMail) {
        this.sendMail = sendMail;
    }

    public String getSendMailPwd() {
        return sendMailPwd;
    }

    public void setSendMailPwd(String sendMailPwd) {
        this.sendMailPwd = sendMailPwd;
    }

    public String getSendContent() {
        return sendContent;
    }

    public void setSendContent(String sendContent) {
        this.sendContent = sendContent;
    }

    public String getReceiveMail() {
        return receiveMail;
    }

    public void setReceiveMail(String receiveMail) {
        this.receiveMail = receiveMail;
    }

    public MailTypeEnums getMailType() {
        return mailType;
    }

    public void setMailType(MailTypeEnums mailType) {
        this.mailType = mailType;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }
}
